<template>
  <div>
    <h1>组件通信高级</h1>
    <div>
      <router-link tag="button" to="/props">props传值</router-link>
      <router-link tag="button" to="/event">自定义时间传值</router-link>
      <router-link tag="button" to="/vmodel">v-model传值</router-link>
      <router-link tag="button" to=/sync>.sync传值</router-link>
      <router-link tag="button" to="/attrsListeners">.$attrs&&$listeners</router-link>
    </div>
      <router-view></router-view>

  </div>
</template>

<script>
export default {
name:"App"
}
</script>

<style>

</style>